package com.bto.solar.work.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.sql.Timestamp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author adrian
 * @since 2023-08-28
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("fdd_task")
@ApiModel(value = "FddTask对象", description = "")
public class FddTask implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("订单ID")
    private String orderId;

    @ApiModelProperty("状态ID")
    private String stageId;

    @ApiModelProperty("任务ID")
    private String stateId;

    @ApiModelProperty("签约方式： APP SMS")
    private String signType;

    @ApiModelProperty("法大大签署任务ID")
    private String signTaskId;

    @ApiModelProperty("法大大作废签署任务ID")
    private String abolishSignTaskId;

    @ApiModelProperty("签署任务状态[task_created：任务创建中（签署任务创建中，未提交）；fill_progress：填写中（填写参与方进行填写）；fill_completed：填写完成（填写的所有参与方已完成填写，单尚未定稿）；sign_progress：签署中 (签署参与方进行签署)；sign_completed：签署已完成 (签署所有参与方均已签署完成)；task_finished：任务已完成 (签署任务已成功结束)；task_terminated：任务已终止 (签署任务已经因为某种原因而停止运行，如因为某方拒填或拒签、撤销、超期)；]")
    private String signTaskStatus;

    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;
}
